package Shared;

/**
 * Object representing a RadioMessage type.
 */
public enum MsgType {
	
	POSITION("position"),
	REGISTERING("registering"),
	LOGGING_IN("logging_in"),
	LOGGING_OUT("logging_out"),
	SORRY_I_AM_BUSY("sorry_i_am_busy"),
	ACKNOWLEDGE_MISSION("acknowledge_mission"),
	MISSION_SUCCESSFUL("mission_successful"),
	MISSION_FAIL("mission_fail"),
	AREYOUFREE("areyoufree"),
	DEAD("dead"),
	YES_FREE("yes_free"),
	ON_MY_WAY("on_my_way"), 
	FREE("freed after busy time"),
	IDLE("the ambulance is now idle");

	private String descr;

	private MsgType(String s) {
		this.descr = s;
	}
	
	@Override
	public String toString() {
		return this.descr;
	}

}
